<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/5/11
 * Time: 12:47
 */

namespace App\Http\Controller;

use Swoft\Http\Message\Request;
use Swoft\Http\Server\Annotation\Mapping\Controller;
use Swoft\Http\Server\Annotation\Mapping\RequestMapping;

/**
 * Class OpenWechatController
 * @package App\Http\Controller
 * @Controller(prefix="/open/wechat")
 */
class OpenWechatController
{

    /**
     * @RequestMapping(route="index")
     */
    public function index(Request $request){

          echo "这里是Index\n";
    }

    /**
     * @RequestMapping(route="handdle")
     */
    public function handdle()
    {
        echo "这里是handdle\n";
    }
}
